package org.example.im.dto;

import lombok.Data;

import java.util.Date;

@Data
public class MessageDTO {
    
    private Long id;
    private Long senderId;
    private String senderName;
    private Long receiverId;
    private String receiverName;
    private String content;
    private Integer messageType; // 0: 文本, 1: 图片, 2: 文件, 3: 表情
    private Integer chatType; // 0: 私聊, 1: 群聊
    private Date sendTime;
    private String fileUrl;
} 